// modal 及其内部样式
.article-editor-modal {
  display: flex;
  align-items: center;
  justify-content: center;

  :global {

    .ant-modal {

      top: 50px;

      // TODO !important - less 属性覆盖
      width: 80% !important;
      position: absolute;

      .ant-modal-body {
        overflow-y: auto;

        // formItem
        .ant-row .ant-form-item {
          margin-bottom: 10px;
        }

      }

      // input 与 braftEditor 分割线
      .ant-divider-horizontal {
        margin: 10px 0;
      }

    }

  }

}

.link-pub-modal {
  display: flex;
  align-items: center;
  justify-content: center;

  :global {

    .ant-modal {

      top: 80px;

      // TODO !important - less 属性覆盖
      width: 40% !important;
      position: absolute;

      .ant-modal-body {
        // max-height:360px;
        height: 300px;
        overflow-y: auto;
        .ant-form {
          border: none;

          // formItem
          .ant-row .ant-form-item {
            margin-bottom: 10px;
          }

        }
      }
    }

  }

}
